package com.mce.nebula.entity;

import com.mce.nebula.common.BaseEntity;
import jakarta.persistence.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 控制台系统配置实体，对应Python的ConsoleSysConfig模型
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "console_sys_config")
public class ConsoleSysConfig extends BaseEntity {
    
    @Column(name = "conf_key", length = 32, unique = true, nullable = false)
    private String key;
    
    @Column(name = "type", length = 32, nullable = false)
    private String type;
    
    @Column(name = "value", length = 4096)
    private String value;
    
    @Column(name = "description", length = 100)
    private String description;
    
    @Column(name = "enable", nullable = false)
    private Boolean enable = true;
    
    @Column(name = "enterprise_id", length = 32)
    private String enterpriseId;
}





